#include"Pointers.h"

int main(){
	CRectangle *recta=new CRectangle();
	recta->setValue(3, 4);
	CRectangle rectb;
	rectb.setValue(recta);
	cout << "area:" << recta->area() << endl;
	cout << "area:" << rectb.area() << endl;	
	_getch();
	delete recta;
	return 0;
}